package com.driver.system.service;


import com.driver.system.db.pojo.RoleEntity;
import com.driver.system.util.PageUtils;

import java.util.ArrayList;
import java.util.HashMap;

public interface RoleService {
    ArrayList<HashMap> searchAllRole();

    HashMap searchById(int id);

    PageUtils searchRoleByPage(HashMap param);

    int insert(RoleEntity role);

    ArrayList<Integer> searchUserIdByRoleId(int roleId);

    int update(RoleEntity role);

    int deleteRoleByIds(Integer[] ids);
}